package com.sjgtw.cloud.web.rainfall.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 降雨巡视对象 t_eg_rainfall_inspection
 * 
 * @author lvyoufang
 * @date 2024-03-17
 */
@ApiModel(value="降雨巡视对象", description="t_eg_rainfall_inspection")
public class RainfallInspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 预警id */
    @ApiModelProperty(value = "预警id")
    @Excel(name = "预警id")
    private Long rainfallWarningId;

    /** 巡查范围 */
    @ApiModelProperty(value = "巡查范围")
    @Excel(name = "巡查范围")
    private String insRange;

    /** 巡查方式 */
    @ApiModelProperty(value = "巡查方式")
    @Excel(name = "巡查方式")
    private String method;

    /** 出动人数 */
    @ApiModelProperty(value = "出动人数")
    @Excel(name = "出动人数")
    private String number;

    /** 发现问题 */
    @ApiModelProperty(value = "发现问题")
    @Excel(name = "发现问题")
    private String problem;

    /** 是否提交 */
    @ApiModelProperty(value = "是否提交")
    @Excel(name = "是否提交")
    private Boolean submited;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    private String status;
    private String taskType;
    private String systemSoure;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInsRange(String insRange) 
    {
        this.insRange = insRange;
    }

    public Long getRainfallWarningId() {
        return rainfallWarningId;
    }

    public void setRainfallWarningId(Long rainfallWarningId) {
        this.rainfallWarningId = rainfallWarningId;
    }

    public String getInsRange()
    {
        return insRange;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public Boolean getSubmited() {
        return submited;
    }

    public void setSubmited(Boolean submited) {
        this.submited = submited;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getSystemSoure() {
        return systemSoure;
    }

    public void setSystemSoure(String systemSoure) {
        this.systemSoure = systemSoure;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("insRange", getInsRange())
            .append("method", getMethod())
            .append("number", getNumber())
            .append("problem", getProblem())
            .append("remark", getRemark())
            .append("createUserId", getCreateUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
